package edu.yctc.origin.controller.impl;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import edu.yctc.origin.constant.TemplatePath;
import edu.yctc.origin.controller.ManageController;

/**
 * manageController实现
 * 
 * @author 赵宜珺
 *
 */
@Controller
@RequestMapping("/manage")
public class ManageControllerImpl implements ManageController {

    @Override
    @GetMapping("insert-book")
    public String showInsertBook() {
        return TemplatePath.MANAGE_INSERT_BOOK;
    }

    @Override
    @GetMapping("lend-book")
    public String showLendBook() {
        return TemplatePath.MANAGE_LEND_BOOK;
    }

}
